#ifndef __CK_SCHEMA_H__
#define __CK_SCHEMA_H__

#include "ckobject.h"
#include "zCore.h"
#include <vector>

namespace ck
{
	namespace data
	{
		class Group;
		class EnumGroup;

		class ZCORE_API Schema : public ckObject
		{
		public:
			Schema();
			virtual ~Schema();

		public:
			RESULTCODE	AddGroup(Group* pGroup);

			Group*		GetGroup(const char* szName);
			EnumGroup*	GetGroups();

			void		Clear();

		protected:
			std::vector<Group*>	m_groups;
		};
	}
}

#endif //__CK_SCHEMA_H__
